NedFox Shipment Message XSD

The NedFox Shipment Message is based on an XSD and contains the following elements:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
           targetNamespace="urn:xmlns:nedfox-retaillink-com:ShipmentNotification"
           xmlns:xsi="urn:xmlns:nedfox-retaillink-com:ShipmentNotification" version="1.0" elementFormDefault="qualified">
  <xs:element name="Interchange">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="Envelope" type="xsi:Envelope" maxOccurs="1" minOccurs="1"/>
        <xs:element name="Messages" type="xsi:Messages" maxOccurs="1" minOccurs="1"/>
      </xs:sequence>
      <xs:attribute name="version" type="xs:string" use="required"/>
    </xs:complexType>
  </xs:element>
  <xs:complexType name="Envelope">
      <xs:sequence>
        <xs:element name="FromPartyNumber" type="xs:long" maxOccurs="1" minOccurs="1"/>
        <xs:element name="FromPartyName" maxOccurs="1" minOccurs="0"/>
        <xs:element name="ToPartyNumber" type="xs:long" maxOccurs="1" minOccurs="1"/>
        <xs:element name="ToPartyName" maxOccurs="1" minOccurs="0"/>
        <xs:element name="InterchangeReference" minOccurs="1" maxOccurs="1"/>
        <xs:element name="InterchangeDateTime" minOccurs="1" maxOccurs="1"/>
        <xs:element name="InterchangeTest" type="xs:boolean" minOccurs="0" maxOccurs="1"/>
      </xs:sequence>
  </xs:complexType>
  <xs:complexType name="Messages">
    <xs:sequence>
      <xs:element name="Message" type="xsi:Message" minOccurs="1" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="Message">
    <xs:sequence>
      <xs:element name="MessageDateTime" type="xs:dateTime" minOccurs="1" maxOccurs="1"/>
      <xs:element name="MessageReference" minOccurs="1" maxOccurs="1"/>
      <xs:element name="HighPriority" type="xs:boolean" minOccurs="0" maxOccurs="1"/>
      <xs:element name="Header" type="xsi:Header" maxOccurs="1" minOccurs="1"/>
      <xs:element name="Rows" type="xsi:Rows" maxOccurs="1" minOccurs="1"/>
      <xs:element name="Footer" type="xsi:Footer" maxOccurs="1" minOccurs="1"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="Header">
    <xs:all>
      <xs:element name="ShipmentReference" minOccurs="1" maxOccurs="1"/>
      <xs:element name="BuyerReference" minOccurs="1" maxOccurs="1"/>
      <xs:element name="SupplierReference" minOccurs="1" maxOccurs="1"/>
      <xs:element name="OrderDateTime" type="xs:dateTime" minOccurs="1" maxOccurs="1"/>
      <xs:element name="BuyerPartyNumber" type="xs:long" minOccurs="1" maxOccurs="1"/>
      <xs:element name="SupplierPartyNumber" type="xs:long" minOccurs="1" maxOccurs="1"/>
      <xs:element name="DeliveryPartyNumber" type="xs:long" minOccurs="0" maxOccurs="1"/>
      <xs:element name="PickupPartyNumber" type="xs:long" minOccurs="0" maxOccurs="1"/>
      <xs:element name="FinalDestinationPartyNumber" type="xs:long" minOccurs="0" maxOccurs="1"/>
    </xs:all>
  </xs:complexType>
  <xs:complexType name="Rows">
    <xs:sequence>
      <xs:element name="Row" type="xsi:Row" minOccurs="1" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="Row">
    <xs:all>
      <xs:element name="Barcode" minOccurs="1" maxOccurs="1">
        <xs:complexType>
          <xs:choice minOccurs="1" maxOccurs="1">
            <xs:element name="BarcodeValue" minOccurs="0" maxOccurs="1" type="xs:long"/>
            <xs:element name="BarcodeText" minOccurs="0" maxOccurs="1"/>
          </xs:choice>
        </xs:complexType>
      </xs:element>
      <xs:element name="SkuQuantity" minOccurs="1" maxOccurs="1" type="xs:int"/>
      <xs:element name="Purchase" minOccurs="0" maxOccurs="1">
        <xs:complexType>
          <xs:all>
          <xs:element name="PriceExclVat" minOccurs="1" maxOccurs="1" type="xs:decimal"/>
          <xs:element name="PriceType" minOccurs="1" maxOccurs="1">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:pattern value="SingleSku|SkuQuantity" />
              </xs:restriction>
            </xs:simpleType>
          </xs:element>
          </xs:all>
        </xs:complexType>
      </xs:element>
      <xs:element name="AdviceSkuSalePriceInclVat" minOccurs="0" maxOccurs="1" type="xs:decimal"/>
      <xs:element name="Description1" minOccurs="0" maxOccurs="1"/>
      <xs:element name="Description2" minOccurs="0" maxOccurs="1"/>
      <xs:element name="BuyerReference" minOccurs="0" maxOccurs="1"/>
      <xs:element name="SupplierReference" minOccurs="0" maxOccurs="1"/>
      <xs:element name="Properties" type="xsi:Properties" maxOccurs="1" minOccurs="0"/>
    </xs:all>
  </xs:complexType>
  <xs:complexType name="Properties">
    <xs:sequence>
      <xs:element name="Property" type="xsi:Property" minOccurs="1" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="Property">
    <xs:sequence>
      <xs:element name="PropertyTable" minOccurs="1" maxOccurs="1" />
      <xs:element name="PropertyCode" minOccurs="1" maxOccurs="1" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="Footer">
  </xs:complexType>
</xs:schema>

 

Header/ShipmentReference The reference of the shipment, this reference will also be printed on the printed shipment documentation and can be used to find the belonging EDI shipment message from printed documentation
Header/BuyerReference The reference the buyer gave to the original order where this shipment is a result of.
Header/SupplierReference The reference the supplier gave to this message, can be used to map this message to the message in the internal systems of a supplier
Header/OrderDateTime The date and time of the original order where this shipment is a result of
Header/BuyerPartyNumber The EDI partynumber of the buying party. If this message is delivered directly at Retail3000, no routing by RetailLink is required and the partynumber can be set to 9999999999999 (13x9). Off course its allowed to send a 'real' partynumber, the recognition within RetailVista of the buyer addresses is better readable in that case.
Header/SupplierPartyNumber

The EDI partynumber of the supplier party. If this message is delivered directly at Retail3000, no routing by RetailLink is required and the partynumber can be set to 9999999999999 (13x9). Off course its allowed to send a 'real' partynumber, the recognition within RetailVista of the supplier addresses is better readable in that case.

Header/DeliveryPartyNumber The EDI partynumber of the address where the goods are delivered. Same notice at previous partynumbers.
Header/PickupPartyNumber The EDI partynumber of the address where the order can be picked up. Same notice at previous partynumber.
Header/FinalDestinationPartyNumber The EDI partynumber of the address where the goods will finally arrive, possible after this current destination. Same notice at previous partynumber.
Row/Barcode/BarcodeValue A numeric value of the product barcode. Only this field or BarcodeText should be given, both is not allowed.
Row/Barcode/BarcodeText A text value of the product barcode. If a numeric value will be given in this field, RetailVista will process the field content as 'numeric' and thus leading zeros are removed.
Row/SkuQuantity The number of SKU to be received
Row/Purchase/PriceExclVat The purchase price of the products excl VAT
Row/Purchase/PriceType

The type of the PriceExclVat, can be SingleSku of SkuQuantity

SingleSku: The price is for a single SKU

SkuQuantity: The price is the total price for the give Quantity

Row/AdviceSkuSalePriceInclVat The adviced sale price of this product incl VAT
Row/Description1 First product description
Row/Description2 Second product description
Row/BuyerReference Optional row reference of the buying party
Row/SupplierReference Optional row reference of the supplier party for reference to internal systems at supplier
Row/Properties For future use